package model.playingfield;

import java.awt.Color;
import java.io.Serializable;

import model.Player;

/**
 * @author christopher
 * 
 * This is a Piece. It represents a piece belonging to a player,
 * which at any point during the course of the game is either:
 * 
 * 		* Not in play
 * 		* On a given Spot on the PlayingField
 */

public class Piece implements Serializable{
	private static final long serialVersionUID = 2081295336520634171L;
	
	private final Player owner;
	private final Color color;
	private final Integer ID;
	
	public Piece(Player owner, Integer ID) {
		this.owner = owner;
		this.color = null; // will get color from Player when that is implemented.
		this.ID = ID;
	}
	
	public Player getOwner() {
		return owner;
	}
	
	public Integer getID() {
		return ID;
	}
}
